All Packages Class Hierarchy This Package Previous Next Index
Object | +----symantec.itools.db.beans.brl.adapter.BRLAdapterResourceLoader
This class loads the BRLAdapterResource.
It implements the Singleton Design Pattern.
java.util.ResourceBundle.getBundle("symantec.itools.db.beans.jdbc.JdbcResource"))
Unfortunately we cannot override getBundle() - it is final.
public java.util.ResourceBundle getBundle()
java.util.ResourceBundle.getBundle("symantec.itools.db.beans.jdbc.JdbcResource"))
Unfortunately we cannot override getBundle() - it is final.
Everywhere where you need to load JdbcResource use this:
BRLAdapterResourceLoader.getBundle()
It prevents from loading the same resource file multiple times.
The usage of the resource remains the same:
MyResource.getString()
- MyResource is the reference that is in your code
public static synchronized symantec.itools.db.beans.brl.adapter.BRLAdapterResourceLoader getInstance()
public static void main(String[] args)
All Packages Class Hierarchy This Package Previous Next Index